﻿using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using pvmoduleditor.contracts.data.contracts;

namespace pvmoduleditor.adapter.tests
{
    [TestFixture]
    class DummyDaten_Erzeugen_Testen
    {
        [Test]
        public void Dummydaten_erzeugen()
        {
            var sut = new Lese_Daten();
            IEnumerable<PVModul> result = null;
            sut.Result += x => result = x;

            sut.Process();

            Assert.IsTrue( result.Count() > 0 );
        }
    }
}
